package Oop_abstract.Lian001;

public class MainTest {
    public static void main(String[] args) {
        //创建对象
        Frog f = new Frog("小绿",3);
        System.out.println(f.getName()+","+f.getAge());
        f.dronk();
        f.eat();
    }
}
